package com.liang.springbootmybatislearn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * springboot mybatis学习应用
 *
 * @author liangyehao
 * @date 2021/05/27
 */
//不加MapperScan注解报错：No qualifying bean
@MapperScan(basePackages = {"com.liang.springbootmybatislearn.repository"})
@SpringBootApplication
public class SpringbootMybatisLearnApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootMybatisLearnApplication.class, args);
    }

}
